import service from '@/utils/request'

const baseUrl = "/sys/dept";

export function getDeptApiUrl(){
    return {
        list:   baseUrl+'/list',	//分页查询API地址
        add:    baseUrl+'/add',		//添加API地址
        edit:   baseUrl+'/edit',	//修改API地址
        delete: baseUrl+'/delete',	//删除API地址
    };
}

export function getDeptListApi(){
    return service.get(baseUrl+"/list")
}